Temporal Process Language
   HOME

TheInfoList



OR:

In
theoretical computer science computer science (TCS) is a subset of general computer science and mathematics that focuses on mathematical aspects of computer science such as the theory of computation, lambda calculus, and type theory. It is difficult to circumscribe the ...
, Temporal Process Language (TPL) is a
process calculus In computer science, the process calculi (or process algebras) are a diverse family of related approaches for formally modelling concurrent systems. Process calculi provide a tool for the high-level description of interactions, communications, and ...
which extends Robin Milner's CCS with the notion of ''multi-party synchronization'', which allows multiple process to synchronize on a global 'clock'. This clock measures time, though not concretely, but rather as an abstract signal which defines when the entire process can step onward.


Informal definition

TPL is a conservative extension of CCS, with the addition of a special action called σ representing the passage of time by a process - the ticking of an abstract clock. As in CCS, TPL features action prefix and it can be described as being ''patient'', that is to say a process a.P will idly accept the ticking of the clock, written as a.P \rightarrow^a a.P Key to the use of abstract time is the ''timeout'' operator, which presents two processes, one to behave as if the clock ticks, one to behave as if it can't, i.e. \lfloor E \rfloor (F) \rightarrow^\sigma F provided process E does not prevent the clock from ticking. \lfloor E \rfloor (F) \rightarrow^\sigma E' provided E can perform action a to become E'. In TPL, there are two ways to prevent the clock from ticking. First is via the presence of the ω operator, for example in process a.P + \Omega the clock is prevented from ticking. It can be said that the action a is ''insistent'', i.e. it insists on acting before the clock can tick again. The second way in which ticking can be prevented is via the concept of ''maximal-progress'', which states that silent actions (i.e. τ actions) always take precedence over and thus suppress σ actions. Thus is two parallel processes are capable of synchronizing at a given instant, it is not possible for the clock to tick. Thus a simple way of viewing multi-party synchronization is that a group of composed processes will allow time to pass provided none of them prevent it, i.e. the system agrees that it is time to move on.


Formal definition


Syntax

Let a be a non-silent action name, α be any action name (including τ, the silent action) and X be a process label used for recursion. :\begin Proc ::= & \alpha.Proc \\ , & \lfloor Proc \rfloor (Proc) \\ , & Proc + Proc \\ , & Proc\;, \;Proc \\ , & rec X.Proc \\ , & X \\ , & \Omega \\ , & Proc \setminus a \\ , & 0 \\ \end{matrix}


References

Matthew Hennessy Matthew Hennessy is an Irish computer scientist who has contributed especially to concurrency, process calculi and programming language semantics. Career During 1976–77, Matthew Hennessy was an assistant professor at the University of Water ...
and Tim Regan : ''A Process Algebra for Timed Systems''. Information and Computation, 1995. Process calculi